package org.nstack.header.storage.primary;

import org.nstack.header.message.APIReply;
import org.nstack.header.rest.RestResponse;

import java.util.List;

import static java.util.Arrays.asList;



@RestResponse(fieldsTo = {"strategies=primaryStorageAllocatorStrategies"})
public class APIGetPrimaryStorageAllocatorStrategiesReply extends APIReply {

    private List<String> primaryStorageAllocatorStrategies;

    public List<String> getPrimaryStorageAllocatorStrategies() {
        return primaryStorageAllocatorStrategies;
    }

    public void setPrimaryStorageAllocatorStrategies(List<String> primaryStorageAllocatorStrategies) {
        this.primaryStorageAllocatorStrategies = primaryStorageAllocatorStrategies;
    }
 
    public static APIGetPrimaryStorageAllocatorStrategiesReply __example__() {
        APIGetPrimaryStorageAllocatorStrategiesReply reply = new APIGetPrimaryStorageAllocatorStrategiesReply();

        reply.setPrimaryStorageAllocatorStrategies(
                asList("DefaultPrimaryStorageAllocationStrategy",
                        "LocalStorageAllocatorStrategy"));

        return reply;
    }

}
